package com.hzhjhh.view.cashierView;

import java.awt.Font;
import java.awt.Rectangle;

import javax.swing.BorderFactory;
import javax.swing.JLabel;

/**
 * 组件初始化-收银页面-找零
 * @author 12083
 *
 */
public class GiveChangeInit {

	/**
	 * 初始化找零-标签
	 */
	public static JLabel initLb() {
		JLabel giveChange = new JLabel();
		giveChange.setText("找零:");
		giveChange.setFont(new Font("宋体", Font.PLAIN, 30));
		giveChange.setBounds(473, 519, 88, 40);
		return giveChange;
	}
	/**
	 * 初始化找零-输入框
	 */
	public static JLabel initLb2() {
		JLabel giveChange = new JLabel();
		giveChange.setText("0");
		giveChange.setFont(new Font("宋体", Font.PLAIN, 30));
		giveChange.setBounds(550, 520, 125, 40);
		giveChange.setBorder(BorderFactory.createEtchedBorder());
		return giveChange;
	}
}
